<div class="pub-body">
    <h1 align="center">&nbsp;&nbsp;&nbsp;现场形象跟进</h1>
    <h2></h2>
        <!-- 资产列表 -->
        <div class="project">
            <el-table :data="assetData" border style="width: 100%" :header-cell-style="{background:'#eef1f6',color:'#606266'}">
                <el-table-column prop="contractNo" label="项目ID" width="200"></el-table-column>
                <el-table-column prop="assetName" label="项目名称" width="200"></el-table-column>
                <el-table-column prop="assetType" label="需跟进形象照节点数" width="200"></el-table-column>
                <el-table-column prop="assetNorm" label="已完成节点数"  width="200"></el-table-column>
                <el-table-column prop="supplier" label="进行中节点" ></el-table-column>
                <el-table-column prop="purchaseUnit" label="更新次数"></el-table-column>
                <!-- <el-table-column prop="assetNum" label="资产数量"></el-table-column> -->
                <!-- <el-table-column prop="taxIncludedPrice" label="人防异地建设费"></el-table-column> -->
                <!-- <el-table-column prop="inboundDate"  label="入库日期"></el-table-column>
                <el-table-column prop="assetStatus"  label="资产状态"></el-table-column> -->
                <el-table-column fixed="right" label="操作" width="200">
                    <template slot-scope="scope">
                        <el-button @click="dialogAsset(scope.row)" type="primary" icon="el-icon-tickets" size="small">新增形象照片</el-button>
                        <!-- <el-button @click="dialogUse(scope.row)" type="primary" icon="el-icon-star-on" size="small">资产维修</el-button> -->
                    </template>
                </el-table-column>
            </el-table>
        </div>

        <!-- 详细资金流弹窗 -->
        <el-dialog width="1000px" :title="dialogAssetAdd.title" :visible.sync="dialogAssetAdd.status">
            <el-form ref="assetAddFrom" :rules="assetAddRules" :model="assetAddFrom" label-width="160px">
                <el-form-item prop="assetName" label="项目名称">
                    <el-input :disabled="true"  style="width: 300px;" placeholder="请输入项目名称" v-model="assetAddFrom.assetName"></el-input>
                </el-form-item>
                <el-form-item prop="personalName" label="节点">
                    <!-- <el-input style="width: 300px;" placeholder="请输入节点名称" v-model="personalFrom.personalName"></el-input> -->
                    <el-select style="width: 300px;" v-model="assetAddFrom.personalName" placeholder="请选择节点">
                        <el-option label="临水" value="1"></el-option>
                        <el-option label="燃气" value="2"></el-option>
                        <el-option label="临电" value="3"></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item prop="personalTel" label="子节点">
                    <el-select style="width: 300px;" v-model="assetAddFrom.personalTel" placeholder="请选择子节点">
                        <el-option label="施工通水" value="1"></el-option>
                        <el-option label="施工通气" value="2"></el-option>
                        <el-option label="施工通电" value="3"></el-option>
                    </el-select>
                </el-form-item>
                <el-form-item prop="personalTel1" label="上传日期">
                    <el-date-picker type="date" placeholder="创建时间" v-model="assetAddFrom.personalTel1" style="width: 300px"></el-date-picker>
                </el-form-item>
                <el-form-item prop="assetPhoto" label="上传照片">
                    <el-upload
                        prop="assetPhotoaa"
                        class="upload-demo"
                        action="https://jsonplaceholder.typicode.com/posts/"
                        :on-preview="handlePreview"
                        :on-remove="handleRemove"
                        :file-list="fileList"
                        list-type="picture">
                        <el-button size="small" type="primary">点击上传</el-button>
                        <div slot="tip" class="el-upload__tip">只能上传jpg/png文件，且不超过500kb</div>
                    </el-upload>
                </el-form-item>
                <el-form-item prop="monthly" label="备注">
                    <el-input
                        prop="monthlya"
                        style="width: 450px"
                        type="textarea"
                        :rows="3"
                        placeholder="请输入详细说明"
                        v-model="textarea">
                    </el-input>
                </el-form-item>
                <el-form-item>
                    <el-button type="primary" @click="assetUse('assetAddFrom')">提交照片</el-button>
                    <el-button @click="">取消</el-button>
                </el-form-item>
            </el-form>
        </el-dialog>
    </div>
